package br.cin.stadium.middleware.marshall;

/**
 * @author Jorge, Fabiano, Rafael, Vando
 *
 */
public interface MarshallOutputStream {

	/**
	 * @param s
	 */
	public void writeUTF(String s);

	/**
	 * @param i
	 */
	public void writeInt(int i);

	/**
	 * Call checkSize before Call this method
	 * @param bytes
	 */
	public void write(byte[] bytes);

	/**
	 * Call checkSize before Call this method
	 * @param oneByte
	 */
	public void write(byte oneByte);

	/**
	 * @return
	 */
	public byte[] getData();

}